<?php
class SimpleClass {
	public $var="a defual value";
	public function getVar(){
		return $this->var;
	}
}
	
$sc = new SimpleClass();
echo $sc->getVar();
echo "xxxxff";
?>